package bupt.xixi.learning.aop;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public class TargetSource {

    private final Object target;

    public Class<?>[] getTargetClass() {
        return target.getClass().getInterfaces();
    }

    public Object getTarget(){
        return target;
    }

}
